<template>
	<view>
		<template v-for="(item,index) in titleList" >
			<zy-grid :col="4" :showTip="true" :showTitle="true" :title="item.name" :dataList="dataList[index].dataItem" :key='item.name'></zy-grid>
		</template>
		
		<!-- <zy-grid :col="4" :showTip="true" :showTitle="true" :title="引用验单业务单据"></zy-grid> -->
	</view>
</template>

<script>
	import zyGrid from '../../components/zy-grid/zy-grid.vue'
	export default {
		components:{
			zyGrid
		},
		data(){
			return {
				titleList:[
					{ name:'业务单据' }
					// { name:'引用验单业务单据' }
				],
				dataList:[
					 { 
						 dataItem: [//格子数据列表
							{
								name: '采购订单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
								url:'/pages/selPurchaseOrder/selPurchase?BillName='+"采购订单",
								isShow:true
							},
							{
								name: '采购入库单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
								url:'/pages/selPurchaseMore/selPurchase?BillName='+"采购入库单",
								isShow:true
								
							},
							{
								name: '采购退货单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
								url:'/pages/selPurchaseMore/selPurchase?BillName='+"采购退货单",
								isShow:true
							},
							{
								name: '销售订单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
								url:'/pages/selPurchase/selPurchase?BillName='+"销售订单",
								isShow:true
							},
							{
								name: '销售出库单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
								url:'/pages/selPurchaseMore/selPurchase?BillName='+"销售出库单",
								isShow:true
							},
							{
								name: '销售退货单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
								url:'/pages/selPurchaseMore/selPurchase?BillName='+"销售退货单",
								isShow:true
							},{
								name: '促销单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
								url:'/pages/selPurchaseOrder/selPurchase?BillName='+"促销单",
								isShow:true
							},
							{
								name: '调拨单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
							    url:'/pages/selPurchaseMore/selPurchase?BillName='+"调拨单",
								isShow:true
							},
							{
								name: '其他入库单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
							    url:'/pages/selPurchaseMore/selPurchase?BillName='+"其他入库单",
								isShow:true
							},
							{
								name: '其他出库单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
							 	url:'/pages/selPurchaseMore/selPurchase?BillName='+"其他出库单",
								isShow:true
							},
							{
								name: '配送申请单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
							 	url:'/pages/selPurchasePs/selPurchase?BillName='+"配送申请单",
								isShow:true
							},
							{
								name: '配送出库单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
							 	url:'/pages/selPurchasePs/selPurchase?BillName='+"配送出库单",
								isShow:true
							},
							
							{
								name: '配送退回单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
							 	url:'/pages/selPurchasePs/selPurchase?BillName='+"配送退回单",
								isShow:true
							},
							{
								name: '盘点单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
							    url:'/pages/selPurchasePd/selPurchase?BillName='+"盘点单",
								isShow:true
							},
							{
								name: '收款单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
							    url:'/pages/selPurchaseMore/selPurchase?BillName='+"收款单",
								isShow:true
							},
							{
								name: '付款单',
								imgUrl: '../../static/zy-grid/grid-01.svg',
								tips: '',
							    url:'/pages/selPurchaseMore/selPurchase?BillName='+"付款单",
								isShow:true
							}
						]}
				]
				
			}
		}
	}
</script>

<style>
	
</style>
